﻿using Acme.ConcreteMixDesign.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Acme.ConcreteMixDesign.Dtos
{
    public class CreateTopicDto:EntityDto
    {
        /// <summary>
        /// 题目名称
        /// </summary>
        public string TopicName { get; set; }
        /// <summary>
        /// 题目内容
        /// </summary>
        public string TopicContent { get; set; }

        public List<CreateAnswerDto> Answers { get; set; }

        public List<TopicInformationDto> TopicInformations { get; set; }

        protected CreateTopicDto() { }

        public CreateTopicDto(string topicName, string topicContent, List<CreateAnswerDto> answers)
        {
            TopicName = topicName;
            TopicContent = topicContent;
            Answers = answers;
        }
    }
}
